package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SetItemInformation {

    private int beginIndex;
    private int endIndex;
    private DescriptorItemName descriptorItemName;
    private SimpleValueSpecification simpleValueSpecification2;

    public SetItemInformation(DescriptorItemName descriptorItemName,
                              SimpleValueSpecification simpleValueSpecification2) {
        this.beginIndex = descriptorItemName.getBeginIndex();
        this.endIndex = simpleValueSpecification2.getEndIndex();
        this.descriptorItemName = descriptorItemName;
        this.simpleValueSpecification2 = simpleValueSpecification2;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public DescriptorItemName getDescriptorItemName() {
        return descriptorItemName;
    }

    public SimpleValueSpecification getSimpleValueSpecification2() {
        return simpleValueSpecification2;
    }

}
